﻿using System.ComponentModel.DataAnnotations;
using PortalCurriculo.Domain;

namespace PortalCurriculo.MvcWebUI.Models
{
    public class CargoModel : ModelBase<CargoModel, Cargo>
    {
        [Display(Name = "IdEspecializacaoArea_Display", ResourceType = typeof(Resources.Cargo.Geral))]
        public int IdEspecializacaoArea { get; set; }
        public EspecializacaoAreaModel EspecializacaoArea { get; set; }
        public string Descricao { get; set; }

        [Display(Name = "Id_Display", ResourceType = typeof(Resources.Cargo.Geral))]
        public new int Id { get; set; }
    }

    public class EspecializacaoAreaModel : ModelBase<EspecializacaoAreaModel, EspecializacaoArea>
    {
        [Display(Name = "IdArea_Display", ResourceType = typeof(Resources.Cargo.Geral))]
        public int IdArea { get; set; }
        public AreaModel Area { get; set; }
        public string Descricao { get; set; }
    }

    public class AreaModel : ModelBase<AreaModel, Area>
    {
        public string Descricao { get; set; }
    }
}